feat: visual mode toggle, plan build state sync, and dev toolchain improvements#2
Merged
Conversation
Update desktop scripts/config and docs to rely on pnpm tauri.
- Add enable_visual_mode field to AIExperienceConfig (Rust & TS) - Add VISUAL_MODE placeholder in PromptBuilder to inject Mermaid diagram instructions when visual mode is enabled - Implement visual mode switch in AgenticModeConfig panel with immediate persistence via configAPI - Remove unused priority strategy UI - Change tool toggles to save immediately instead of requiring manual save button click - Fix GlobalConfigManager::reload Arc divergence causing config writes via AppState to desync from reads via GlobalConfigManager
Extract a shared PlanBuildStateService singleton to centralize build state tracking, TodoWrite file sync, and subscriber notifications. Both components now use the same service as the single source of truth, ensuring consistent build/building/built button states regardless of mount/unmount timing. Changes: - Add shared/services/PlanBuildStateService.ts (singleton service) - Remove duplicated build state, TodoWrite handlers, and file write guards from both CreatePlanDisplay and PlanViewer - Both components subscribe to the service on mount and read initial state from it, covering all open/close timing scenarios
Owner
|
lgtm |
wsp1911
referenced
this pull request
in wsp1911/BitFun
Feb 10, 2026
feat: visual mode toggle, plan build state sync, and dev toolchain improvements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
enable_visual_modeconfig (Rust + TS) with a toggle inAgenticModeConfig. When enabled, injects Mermaid diagram instructions into the system prompt via a new{VISUAL_MODE}placeholder inPromptBuilder.PlanBuildStateServicesingleton to centralize build tracking, TodoWrite file sync, and subscriber notifications. Fixes inconsistent build/building/built button states betweenCreatePlanDisplayandPlanVieweracross mount/unmount cycles.reload()now mutates the existingArc<ConfigService>in-place instead of replacing it, preventing desync betweenAppStatewrites andGlobalConfigManagerreads.Gitin the default tool list for agentic mode.cargo tauricommands withpnpm tauriacross scripts, config, and docs. Eliminates the need for a globalcargo install tauri-cli.runSilent/runInheritnow return structured results with stderr tail, exit codes, and Windows GBK decoding support.AIExperienceConfigfields tosnake_case, remove unused priority strategy UI, make tool toggles save immediately, and add missingzh-CNtranslations for plan UI.